# 2.1 Overview

Web projects based on JFinal require the creation of a subclass derived from the JFinalConfig class. This class is used to configure the entire web project.

The JFinalConfig subclass needs to implement six abstract methods, as shown below:

public class DemoConfig extends JFinalConfig {
    public void configConstant(Constants me) {}
    public void configRoute(Routes me) {}
    public void configEngine(Engine me) {}
    public void configPlugin(Plugins me) {}
    public void configInterceptor(Interceptors me) {}
    public void configHandler(Handlers me) {}
}
1
2
3
4
5
6
7
8
Last Updated: 9/17/2023, 5:34:57 AM